////////////////////////////////////////////////////////////////////////////
//
//  Crytek Engine Source File.
//  Copyright (C), Crytek Studios, 2010.
// -------------------------------------------------------------------------
//  File name:   3DEngineMemory.h
//  Version:     v1.00
//  Created:     23/04/2010 by Chris Raine.
//  Compilers:   Visual Studio.NET
// -------------------------------------------------------------------------
//  History:
////////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "3DEngineMemory.h"

// Static CTemporaryPool instance 
CTemporaryPool* CTemporaryPool::s_Instance = NULL; 

namespace util 
{ 
  void* pool_allocate(size_t nSize)
  {
    return CTemporaryPool::Get()->Allocate(nSize, 8);
  }
  void  pool_free(void* ptr)
  {
    return CTemporaryPool::Get()->Free(ptr);
  }
}
